package com.haixiaoke.saas.repository.service;

import com.haixiaoke.saas.repository.pojo.ApartmentCountInfo;
import com.haixiaoke.saas.repository.vo.ApartmentDetailVo;

import java.util.List;

/**
 * 公寓 Service 接口
 * @author zhiping
 */
public interface IApartmentService {

    ApartmentDetailVo getDetail(String houseId);

    /**
     * 根据houseId 查询同小区的公寓
     * @param houseId
     * @return
     */
    List<ApartmentDetailVo> getHousingInSameCommunityByHouseId(String houseId);

    ApartmentCountInfo countApartment(ApartmentCountInfo info);
}
